
const getDefaultState = () => {
	return {
		choosed_user: [],
		choose_coupon:null
	}
}

const state = getDefaultState()

const mutations = {
	SET_CHOOSED_USER: (state, userList) => {
		state.choosed_user = userList
	},
}
const actions = {
	setChoosed ({ commit, userList }) {
		console.log('userList',userList)
		commit('SET_CHOOSED_USER', userList)
	},
}
export default {
	namespaced: true,
	state,
	mutations,
	actions
}

